export default {
  appDEACModes: [
    {
      actype: 'CHATCOMPLETION',
      codeName: 'AIChart',
      logicName: '处理流AI助手',
      deacmodeDataItems: [
        {
          appDEFieldId: 'psdelogicid',
          dataType: 25,
          id: 'value',
        },
        {
          appDEFieldId: 'psdelogicname',
          dataType: 25,
          id: 'text',
        },
      ],
      pagingSize: 50,
      enableBackend: true,
      appDataEntityId: 'web.psdelogic',
      textAppDEFieldId: 'psdelogicname',
      valueAppDEFieldId: 'psdelogicid',
      name: 'AIChart',
      id: 'aichart',
    },
  ],
  appDEFields: [
    {
      codeName: 'applyflag',
      logicName: '扩展状态',
      predefinedType: 'NONE',
      stdDataType: 9,
      name: 'APPLYFLAG',
      id: 'applyflag',
    },
    {
      codeName: 'AttachToPSDEActionName',
      logicName: '附加到指定行为',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'ATTACHTOPSDEACTIONNAME',
      id: 'attachtopsdeactionname',
    },
    {
      codeName: 'AttachToPSDEActionId',
      logicName: '附加到指定行为',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'ATTACHTOPSDEACTIONID',
      id: 'attachtopsdeactionid',
    },
    {
      codeName: 'DynaModelFlag',
      logicName: '扩展模型',
      predefinedType: 'NONE',
      stdDataType: 9,
      name: 'DYNAMODELFLAG',
      id: 'dynamodelflag',
    },
    {
      codeName: 'AttachToPSDEDataSetId',
      logicName: '附加到指定数据集',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'ATTACHTOPSDEDATASETID',
      id: 'attachtopsdedatasetid',
    },
    {
      codeName: 'AttachToPSDEDataSetName',
      logicName: '附加到指定数据集',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'ATTACHTOPSDEDATASETNAME',
      id: 'attachtopsdedatasetname',
    },
    {
      codeName: 'TimerPolicy',
      logicName: '定时触发策略',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'TIMERPOLICY',
      id: 'timerpolicy',
    },
    {
      codeName: 'last_state',
      logicName: '最后运行状态',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      name: 'LAST_STATE',
      id: 'last_state',
    },
    {
      codeName: 'Events',
      logicName: '监控事件',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 500,
      name: 'EVENTS',
      id: 'events',
    },
    {
      codeName: 'EventModel',
      logicName: '事件模型',
      predefinedType: 'NONE',
      stdDataType: 21,
      stringLength: 1048576,
      name: 'EVENTMODEL',
      id: 'eventmodel',
    },
    {
      codeName: 'IgnoreException',
      logicName: '忽略异常',
      predefinedType: 'NONE',
      stdDataType: 9,
      name: 'IGNOREEXCEPTION',
      id: 'ignoreexception',
    },
    {
      codeName: 'ThreadMode',
      logicName: '线程模式',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'THREADMODE',
      id: 'threadmode',
    },
    {
      codeName: 'last_start_at',
      logicName: '最后运行时间',
      predefinedType: 'NONE',
      stdDataType: 5,
      valueFormat: 'YYYY-MM-DD HH:mm:ss',
      name: 'LAST_START_AT',
      id: 'last_start_at',
    },
    {
      codeName: 'PSDELOGICPARAMS',
      logicName: '逻辑参数',
      predefinedType: 'NONE',
      stdDataType: 21,
      stringLength: 1048576,
      name: 'PSDELOGICPARAMS',
      id: 'psdelogicparams',
    },
    {
      codeName: 'PSDELogicNodes',
      logicName: '逻辑节点',
      predefinedType: 'NONE',
      stdDataType: 21,
      stringLength: 1048576,
      name: 'PSDELOGICNODES',
      id: 'psdelogicnodes',
    },
    {
      codeName: 'PSDELogicLinks',
      logicName: '逻辑连接',
      predefinedType: 'NONE',
      stdDataType: 21,
      stringLength: 1048576,
      name: 'PSDELOGICLINKS',
      id: 'psdelogiclinks',
    },
    {
      codeName: 'WebHookUrl',
      computeAppDEFLogicId: 'webhook',
      logicName: 'WebHook地址',
      predefinedType: 'NONE',
      stdDataType: 21,
      stringLength: 1048576,
      name: 'WEBHOOKURL',
      id: 'webhookurl',
    },
    {
      codeName: 'success_rate',
      logicName: '成功率',
      predefinedType: 'NONE',
      stdDataType: 6,
      name: 'SUCCESS_RATE',
      id: 'success_rate',
    },
    {
      codeName: 'success_per',
      logicName: '成功率',
      predefinedType: 'NONE',
      stdDataType: 6,
      name: 'SUCCESS_PER',
      id: 'success_per',
    },
    {
      codeName: 'failure_rate',
      logicName: '失败率',
      predefinedType: 'NONE',
      stdDataType: 6,
      name: 'FAILURE_RATE',
      id: 'failure_rate',
    },
    {
      codeName: 'failure_per',
      computeAppDEFLogicId: 'failure_per',
      logicName: '失败率',
      predefinedType: 'NONE',
      stdDataType: 6,
      name: 'FAILURE_PER',
      id: 'failure_per',
    },
    {
      codeName: 'PSDELogicId',
      logicName: '实体处理逻辑标识',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'PSDELOGICID',
      id: 'psdelogicid',
    },
    {
      codeName: 'PSDELogicName',
      logicName: '规则名称',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      enableQuickSearch: true,
      name: 'PSDELOGICNAME',
      id: 'psdelogicname',
    },
    {
      codeName: 'CreateMan',
      logicName: '建立人',
      predefinedType: 'CREATEMAN',
      stdDataType: 25,
      stringLength: 60,
      name: 'CREATEMAN',
      id: 'createman',
    },
    {
      codeName: 'CreateDate',
      logicName: '建立时间',
      predefinedType: 'CREATEDATE',
      stdDataType: 5,
      valueFormat: 'YYYY-MM-DD HH:mm:ss',
      name: 'CREATEDATE',
      id: 'createdate',
    },
    {
      codeName: 'UpdateMan',
      logicName: '更新人',
      predefinedType: 'UPDATEMAN',
      stdDataType: 25,
      stringLength: 60,
      name: 'UPDATEMAN',
      id: 'updateman',
    },
    {
      codeName: 'UpdateDate',
      logicName: '更新时间',
      predefinedType: 'UPDATEDATE',
      stdDataType: 5,
      valueFormat: 'YYYY-MM-DD HH:mm:ss',
      name: 'UPDATEDATE',
      id: 'updatedate',
    },
    {
      codeName: 'PSDEId',
      logicName: '实体',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'PSDEID',
      id: 'psdeid',
    },
    {
      codeName: 'PSDEName',
      logicName: '实体',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'PSDENAME',
      id: 'psdename',
    },
    {
      codeName: 'CodeName',
      logicName: '代码标识',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 30,
      name: 'CODENAME',
      id: 'codename',
    },
    {
      codeName: 'LogicSubType',
      logicName: '逻辑子类',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 30,
      name: 'LOGICSUBTYPE',
      id: 'logicsubtype',
    },
    {
      codeName: 'ValidFlag',
      logicName: '启用',
      predefinedType: 'NONE',
      stdDataType: 9,
      name: 'VALIDFLAG',
      id: 'validflag',
    },
    {
      codeName: 'LogicType',
      logicName: '逻辑类型',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 50,
      name: 'LOGICTYPE',
      id: 'logictype',
    },
    {
      codeName: 'Memo',
      logicName: '备注',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 2000,
      name: 'MEMO',
      id: 'memo',
    },
    {
      codeName: 'UserTag4',
      logicName: '用户标记4',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 50,
      name: 'USERTAG4',
      id: 'usertag4',
    },
    {
      codeName: 'LogicTag',
      logicName: '逻辑标记',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 60,
      name: 'LOGICTAG',
      id: 'logictag',
    },
    {
      codeName: 'UserTag2',
      logicName: '用户标记2',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      name: 'USERTAG2',
      id: 'usertag2',
    },
    {
      codeName: 'LogicTag2',
      logicName: '逻辑标记2',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 60,
      name: 'LOGICTAG2',
      id: 'logictag2',
    },
    {
      codeName: 'LogicTag3',
      logicName: '逻辑标记3',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 60,
      name: 'LOGICTAG3',
      id: 'logictag3',
    },
    {
      codeName: 'LogicTag4',
      logicName: '逻辑标记4',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 60,
      name: 'LOGICTAG4',
      id: 'logictag4',
    },
    {
      codeName: 'UserTag3',
      logicName: '用户标记3',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 50,
      name: 'USERTAG3',
      id: 'usertag3',
    },
    {
      codeName: 'UserTag',
      logicName: '用户标记',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      name: 'USERTAG',
      id: 'usertag',
    },
    {
      codeName: 'OrderValue',
      logicName: '附加次序',
      predefinedType: 'ORDERVALUE',
      stdDataType: 9,
      name: 'ORDERVALUE',
      id: 'ordervalue',
    },
    {
      codeName: 'extension_tag',
      logicName: '扩展标记',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      name: 'EXTENSION_TAG',
      id: 'extension_tag',
    },
    {
      codeName: 'extension_tag2',
      logicName: '扩展标记2',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      name: 'EXTENSION_TAG2',
      id: 'extension_tag2',
    },
    {
      codeName: 'extension_tag3',
      logicName: '扩展标记3',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      name: 'EXTENSION_TAG3',
      id: 'extension_tag3',
    },
    {
      codeName: 'extension_tag4',
      logicName: '扩展标记4',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      name: 'EXTENSION_TAG4',
      id: 'extension_tag4',
    },
  ],
  appDELogics: [
    {
      deflogicMode: 'COMPUTE',
      appDEFieldId: 'webhookurl',
      codeName: 'WebHook',
      defaultParamName: 'DEFAULT',
      logicName: 'WebHook地址',
      logicSubType: 'DEFIELD',
      scriptCode:
        'var urlObject = new URL(window.location.href);  \nvar webhookurl = urlObject.origin+ibiz.env.baseUrl+"/"+ibiz.env.appId+"/webhooks/"+data.psdynainstid;\ndata.webhookurl =  webhookurl;\nreturn data;',
      customCode: true,
      enableFront: true,
      valid: true,
      name: 'WebHook地址',
      id: 'webhook',
    },
    {
      codeName: 'create_by_template',
      defaultParamName: 'Default',
      logicName: '从模板建立规则',
      logicSubType: 'NONE',
      delogicNodes: [
        {
          codeName: 'Begin',
          leftPos: 200,
          logicNodeType: 'BEGIN',
          links: [
            {
              thenId: 'deaction2',
              id: '连接名称',
            },
          ],
          topPos: 120,
          parallelOutput: true,
          name: '开始',
          id: 'begin',
        },
        {
          dstAppDEActionId: 'get',
          dstAppDataEntityId: 'web.psdelogic',
          dstDELogicParamId: 'default',
          retDELogicParamId: 'default',
          codeName: 'DEACTION2',
          leftPos: 160,
          logicNodeType: 'DEACTION',
          links: [
            {
              thenId: 'prepareparam1',
              id: '连接名称',
            },
          ],
          topPos: 246,
          name: '获取数据',
          id: 'deaction2',
        },
        {
          codeName: 'PREPAREPARAM1',
          leftPos: 160,
          logicNodeType: 'PREPAREPARAM',
          links: [
            {
              thenId: 'deaction1',
              id: '连接名称',
            },
          ],
          delogicNodeParams: [
            {
              dstFieldName: 'PSDEID',
              dstDELogicParamId: 'default',
              paramAction: 'SETPARAMVALUE',
              srcValue: 'Base.common_flow',
              srcValueType: 'SRCVALUE',
              name: '直接值[Base.common_flow] ==> Default[PSDEID]',
              id: '直接值[base.common_flow] ==> default[psdeid]',
            },
          ],
          topPos: 360,
          name: '变更实体标识',
          id: 'prepareparam1',
        },
        {
          dstAppDEActionId: 'create',
          dstAppDataEntityId: 'web.psdelogic',
          dstDELogicParamId: 'default',
          codeName: 'DEACTION1',
          leftPos: 160,
          logicNodeType: 'DEACTION',
          links: [
            {
              thenId: 'end1',
              id: '连接名称',
            },
          ],
          topPos: 480,
          name: '建立规则',
          id: 'deaction1',
        },
        {
          codeName: 'END1',
          leftPos: 200,
          logicNodeType: 'END',
          topPos: 621,
          name: '结束',
          id: 'end1',
        },
      ],
      delogicParams: [
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          paramAppDataEntityId: 'web.psdelogic',
          name: '传入变量',
          id: 'default',
        },
      ],
      startDELogicNodeId: 'begin',
      enableFront: true,
      valid: true,
      name: '从模板建立规则',
      id: 'create_by_template',
    },
    {
      deflogicMode: 'COMPUTE',
      appDEFieldId: 'failure_per',
      codeName: 'failure_per',
      defaultParamName: 'DEFAULT',
      logicName: '失败率计算',
      logicSubType: 'DEFIELD',
      scriptCode:
        'if(data.success_per > 0){\n      data.failure_per = 100.0 - data.success_per;\n}\nreturn data;',
      customCode: true,
      enableFront: true,
      valid: true,
      name: '失败率计算',
      id: 'failure_per',
    },
  ],
  appDEMethodDTOs: [
    {
      codeName: 'PSDELogicDTO',
      appDEMethodDTOFields: [
        {
          codeName: 'applyflag',
          logicName: '扩展状态',
          appDEFieldId: 'applyflag',
          sourceType: 'DEFIELD',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'applyflag',
        },
        {
          codeName: 'AttachToPSDEActionId',
          logicName: '附加到指定行为',
          appDEFieldId: 'attachtopsdeactionid',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'AttachToPSDEActionId',
          id: 'attachtopsdeactionid',
        },
        {
          codeName: 'AttachToPSDEActionName',
          logicName: '附加到指定行为',
          appDEFieldId: 'attachtopsdeactionname',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'AttachToPSDEActionName',
          id: 'attachtopsdeactionname',
        },
        {
          codeName: 'DynaModelFlag',
          logicName: '扩展模型',
          appDEFieldId: 'dynamodelflag',
          sourceType: 'DEFIELD',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'DynaModelFlag',
          id: 'dynamodelflag',
        },
        {
          codeName: 'AttachToPSDEDataSetId',
          logicName: '附加到指定数据集',
          appDEFieldId: 'attachtopsdedatasetid',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'AttachToPSDEDataSetId',
          id: 'attachtopsdedatasetid',
        },
        {
          codeName: 'AttachToPSDEDataSetName',
          logicName: '附加到指定数据集',
          appDEFieldId: 'attachtopsdedatasetname',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'AttachToPSDEDataSetName',
          id: 'attachtopsdedatasetname',
        },
        {
          codeName: 'TimerPolicy',
          logicName: '定时触发策略',
          appDEFieldId: 'timerpolicy',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'TimerPolicy',
          id: 'timerpolicy',
        },
        {
          codeName: 'last_state',
          logicName: '最后运行状态',
          appDEFieldId: 'last_state',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'last_state',
        },
        {
          codeName: 'EventModel',
          logicName: '事件模型',
          appDEFieldId: 'eventmodel',
          sourceType: 'DEFIELD',
          stdDataType: 21,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'EventModel',
          id: 'eventmodel',
        },
        {
          codeName: 'Events',
          logicName: '监控事件',
          appDEFieldId: 'events',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'Events',
          id: 'events',
        },
        {
          codeName: 'IgnoreException',
          logicName: '忽略异常',
          appDEFieldId: 'ignoreexception',
          sourceType: 'DEFIELD',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'IgnoreException',
          id: 'ignoreexception',
        },
        {
          codeName: 'ThreadMode',
          logicName: '线程模式',
          appDEFieldId: 'threadmode',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'ThreadMode',
          id: 'threadmode',
        },
        {
          codeName: 'last_start_at',
          jsonFormat: 'yyyy-MM-dd HH:mm:ss',
          logicName: '最后运行时间',
          appDEFieldId: 'last_start_at',
          sourceType: 'DEFIELD',
          stdDataType: 5,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'last_start_at',
        },
        {
          codeName: 'PSDELOGICPARAMS',
          logicName: '逻辑参数',
          appDEFieldId: 'psdelogicparams',
          sourceType: 'DEFIELD',
          type: 'DTOS',
          allowEmpty: true,
          name: 'PSDELOGICPARAMS',
          id: 'psdelogicparams',
        },
        {
          codeName: 'PSDELogicNodes',
          logicName: '逻辑节点',
          appDEFieldId: 'psdelogicnodes',
          refAppDEMethodDTOId: 'psdelogicnodedto',
          refAppDataEntityId: 'web.psdelogicnode',
          refPickupAppDEFieldId: 'psdelogicid',
          sourceType: 'DEFIELD',
          type: 'DTOS',
          allowEmpty: true,
          name: 'PSDELogicNodes',
          id: 'psdelogicnodes',
        },
        {
          codeName: 'PSDELogicLinks',
          logicName: '逻辑连接',
          appDEFieldId: 'psdelogiclinks',
          refAppDEMethodDTOId: 'psdelogiclinkdto',
          refAppDataEntityId: 'web.psdelogiclink',
          refPickupAppDEFieldId: 'psdelogicid',
          sourceType: 'DEFIELD',
          type: 'DTOS',
          allowEmpty: true,
          name: 'PSDELogicLinks',
          id: 'psdelogiclinks',
        },
        {
          codeName: 'WebHookUrl',
          logicName: 'WebHook地址',
          appDEFieldId: 'webhookurl',
          sourceType: 'DEFIELD',
          stdDataType: 21,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'WebHookUrl',
          id: 'webhookurl',
        },
        {
          codeName: 'success_per',
          logicName: '成功率',
          appDEFieldId: 'success_per',
          sourceType: 'DEFIELD',
          stdDataType: 6,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'success_per',
        },
        {
          codeName: 'success_rate',
          logicName: '成功率',
          appDEFieldId: 'success_rate',
          sourceType: 'DEFIELD',
          stdDataType: 6,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'success_rate',
        },
        {
          codeName: 'failure_per',
          logicName: '失败率',
          appDEFieldId: 'failure_per',
          sourceType: 'DEFIELD',
          stdDataType: 6,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'failure_per',
        },
        {
          codeName: 'failure_rate',
          logicName: '失败率',
          appDEFieldId: 'failure_rate',
          sourceType: 'DEFIELD',
          stdDataType: 6,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'failure_rate',
        },
        {
          codeName: 'CodeName',
          logicName: '代码标识',
          appDEFieldId: 'codename',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'CodeName',
          id: 'codename',
        },
        {
          codeName: 'CreateDate',
          jsonFormat: 'yyyy-MM-dd HH:mm:ss',
          logicName: '建立时间',
          appDEFieldId: 'createdate',
          sourceType: 'DEFIELD',
          stdDataType: 5,
          type: 'SIMPLE',
          name: 'CreateDate',
          id: 'createdate',
        },
        {
          codeName: 'CreateMan',
          logicName: '建立人',
          appDEFieldId: 'createman',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          name: 'CreateMan',
          id: 'createman',
        },
        {
          codeName: 'LogicSubType',
          logicName: '逻辑子类',
          appDEFieldId: 'logicsubtype',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          name: 'LogicSubType',
          id: 'logicsubtype',
        },
        {
          codeName: 'LogicTag',
          logicName: '逻辑标记',
          appDEFieldId: 'logictag',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'LogicTag',
          id: 'logictag',
        },
        {
          codeName: 'LogicTag2',
          logicName: '逻辑标记2',
          appDEFieldId: 'logictag2',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'LogicTag2',
          id: 'logictag2',
        },
        {
          codeName: 'LogicTag3',
          logicName: '逻辑标记3',
          appDEFieldId: 'logictag3',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'LogicTag3',
          id: 'logictag3',
        },
        {
          codeName: 'LogicTag4',
          logicName: '逻辑标记4',
          appDEFieldId: 'logictag4',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'LogicTag4',
          id: 'logictag4',
        },
        {
          codeName: 'LogicType',
          logicName: '逻辑类型',
          appDEFieldId: 'logictype',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'LogicType',
          id: 'logictype',
        },
        {
          codeName: 'Memo',
          logicName: '备注',
          appDEFieldId: 'memo',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'Memo',
          id: 'memo',
        },
        {
          codeName: 'OrderValue',
          logicName: '附加次序',
          appDEFieldId: 'ordervalue',
          sourceType: 'DEFIELD',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'OrderValue',
          id: 'ordervalue',
        },
        {
          codeName: 'PSDEId',
          logicName: '实体',
          appDEFieldId: 'psdeid',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          name: 'PSDEId',
          id: 'psdeid',
        },
        {
          codeName: 'PSDELogicId',
          logicName: '实体处理逻辑标识',
          appDEFieldId: 'psdelogicid',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          name: 'PSDELogicId',
          id: 'psdelogicid',
        },
        {
          codeName: 'PSDELogicName',
          logicName: '规则名称',
          appDEFieldId: 'psdelogicname',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          name: 'PSDELogicName',
          id: 'psdelogicname',
        },
        {
          codeName: 'PSDEName',
          logicName: '实体',
          appDEFieldId: 'psdename',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'PSDEName',
          id: 'psdename',
        },
        {
          codeName: 'UpdateDate',
          jsonFormat: 'yyyy-MM-dd HH:mm:ss',
          logicName: '更新时间',
          appDEFieldId: 'updatedate',
          sourceType: 'DEFIELD',
          stdDataType: 5,
          type: 'SIMPLE',
          name: 'UpdateDate',
          id: 'updatedate',
        },
        {
          codeName: 'UpdateMan',
          logicName: '更新人',
          appDEFieldId: 'updateman',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          name: 'UpdateMan',
          id: 'updateman',
        },
        {
          codeName: 'UserTag',
          logicName: '用户标记',
          appDEFieldId: 'usertag',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'UserTag',
          id: 'usertag',
        },
        {
          codeName: 'UserTag2',
          logicName: '用户标记2',
          appDEFieldId: 'usertag2',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'UserTag2',
          id: 'usertag2',
        },
        {
          codeName: 'UserTag3',
          logicName: '用户标记3',
          appDEFieldId: 'usertag3',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'UserTag3',
          id: 'usertag3',
        },
        {
          codeName: 'UserTag4',
          logicName: '用户标记4',
          appDEFieldId: 'usertag4',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'UserTag4',
          id: 'usertag4',
        },
        {
          codeName: 'ValidFlag',
          logicName: '启用',
          appDEFieldId: 'validflag',
          sourceType: 'DEFIELD',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'ValidFlag',
          id: 'validflag',
        },
        {
          codeName: 'extension_tag',
          logicName: '扩展标记',
          appDEFieldId: 'extension_tag',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'extension_tag',
        },
        {
          codeName: 'extension_tag2',
          logicName: '扩展标记2',
          appDEFieldId: 'extension_tag2',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'extension_tag2',
        },
        {
          codeName: 'extension_tag3',
          logicName: '扩展标记3',
          appDEFieldId: 'extension_tag3',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'extension_tag3',
        },
        {
          codeName: 'extension_tag4',
          logicName: '扩展标记4',
          appDEFieldId: 'extension_tag4',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'extension_tag4',
        },
      ],
      sourceType: 'DE',
      type: 'DEFAULT',
      name: 'PSDELogicDTO',
      id: 'psdelogicdto',
    },
    {
      codeName: 'PSDELogicFilterDTO',
      appDEMethodDTOFields: [
        {
          codeName: 'N_APPLYFLAG_EQ',
          logicName: '扩展状态',
          appDEFieldId: 'applyflag',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_APPLYFLAG_EQ',
          id: 'n_applyflag_eq',
        },
        {
          codeName: 'N_DYNAMODELFLAG_EQ',
          logicName: '扩展模型',
          appDEFieldId: 'dynamodelflag',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_DYNAMODELFLAG_EQ',
          id: 'n_dynamodelflag_eq',
        },
        {
          codeName: 'N_LOGICSUBTYPE_EQ',
          logicName: '逻辑子类',
          appDEFieldId: 'logicsubtype',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_LOGICSUBTYPE_EQ',
          id: 'n_logicsubtype_eq',
        },
        {
          codeName: 'N_LOGICSUBTYPE_IN',
          logicName: '逻辑子类',
          appDEFieldId: 'logicsubtype',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLES',
          allowEmpty: true,
          name: 'N_LOGICSUBTYPE_IN',
          id: 'n_logicsubtype_in',
        },
        {
          codeName: 'N_LOGICSUBTYPE_NOTEQ',
          logicName: '逻辑子类',
          appDEFieldId: 'logicsubtype',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_LOGICSUBTYPE_NOTEQ',
          id: 'n_logicsubtype_noteq',
        },
        {
          codeName: 'N_PSDEID_EQ',
          logicName: '实体',
          appDEFieldId: 'psdeid',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_PSDEID_EQ',
          id: 'n_psdeid_eq',
        },
        {
          codeName: 'N_PSDELOGICID_EQ',
          logicName: '实体处理逻辑标识',
          appDEFieldId: 'psdelogicid',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_PSDELOGICID_EQ',
          id: 'n_psdelogicid_eq',
        },
        {
          codeName: 'N_PSDELOGICNAME_LIKE',
          logicName: '规则名称',
          appDEFieldId: 'psdelogicname',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_PSDELOGICNAME_LIKE',
          id: 'n_psdelogicname_like',
        },
        {
          codeName: 'N_PSDENAME_EQ',
          logicName: '实体',
          appDEFieldId: 'psdename',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_PSDENAME_EQ',
          id: 'n_psdename_eq',
        },
        {
          codeName: 'N_PSDENAME_LIKE',
          logicName: '实体',
          appDEFieldId: 'psdename',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          name: 'N_PSDENAME_LIKE',
          id: 'n_psdename_like',
        },
      ],
      sourceType: 'DE',
      type: 'DEFILTER',
      name: 'PSDELogicFilterDTO',
      id: 'psdelogicfilterdto',
    },
  ],
  appDEMethods: [
    {
      codeName: 'CheckKey',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        stdDataType: 9,
        type: 'SIMPLE',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/checkkey',
      actionMode: 'CHECKKEY',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'CheckKey',
      id: 'checkkey',
    },
    {
      codeName: 'Create',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      noServiceCodeName: true,
      actionMode: 'CREATE',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Create',
      id: 'create',
    },
    {
      codeName: 'CreateTemp',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        name: 'CreateTempInput',
        id: 'createtempinput',
      },
      appDEMethodReturn: {
        type: 'VOID',
        name: 'CreateTempResult',
        id: 'createtempresult',
      },
      tempDataMode: 2,
      builtinMethod: true,
      actionMode: 'CREATE',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'CreateTemp',
      id: 'createtemp',
    },
    {
      codeName: 'CreateTempMajor',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        name: 'CreateTempMajorInput',
        id: 'createtempmajorinput',
      },
      appDEMethodReturn: {
        type: 'VOID',
        name: 'CreateTempMajorResult',
        id: 'createtempmajorresult',
      },
      tempDataMode: 1,
      builtinMethod: true,
      actionMode: 'CREATE',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'CreateTempMajor',
      id: 'createtempmajor',
    },
    {
      codeName: 'Get',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'psdelogicid',
        type: 'KEYFIELD',
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '返回对象',
      },
      requestField: 'PSDELOGICID',
      requestMethod: 'GET',
      requestParamType: 'FIELD',
      needResourceKey: true,
      noServiceCodeName: true,
      actionMode: 'READ',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Get',
      id: 'get',
    },
    {
      codeName: 'GetDraft',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'GET',
      requestParamType: 'NONE',
      requestPath: '/getdraft',
      actionMode: 'GETDRAFT',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'GetDraft',
      id: 'getdraft',
    },
    {
      codeName: 'GetDraftTemp',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        name: 'GetDraftTempInput',
        id: 'getdrafttempinput',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        name: 'GetDraftTempResult',
        id: 'getdrafttempresult',
      },
      tempDataMode: 2,
      builtinMethod: true,
      actionMode: 'GETDRAFT',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'GetDraftTemp',
      id: 'getdrafttemp',
    },
    {
      codeName: 'GetDraftTempMajor',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        name: 'GetDraftTempMajorInput',
        id: 'getdrafttempmajorinput',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        name: 'GetDraftTempMajorResult',
        id: 'getdrafttempmajorresult',
      },
      tempDataMode: 1,
      builtinMethod: true,
      actionMode: 'GETDRAFT',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'GetDraftTempMajor',
      id: 'getdrafttempmajor',
    },
    {
      codeName: 'GetTemp',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'psdelogicid',
        type: 'KEYFIELD',
        name: 'GetTempInput',
        id: 'gettempinput',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        name: 'GetTempResult',
        id: 'gettempresult',
      },
      tempDataMode: 2,
      builtinMethod: true,
      actionMode: 'READ',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'GetTemp',
      id: 'gettemp',
    },
    {
      codeName: 'GetTempMajor',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'psdelogicid',
        type: 'KEYFIELD',
        name: 'GetTempMajorInput',
        id: 'gettempmajorinput',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        name: 'GetTempMajorResult',
        id: 'gettempmajorresult',
      },
      tempDataMode: 1,
      builtinMethod: true,
      actionMode: 'READ',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'GetTempMajor',
      id: 'gettempmajor',
    },
    {
      codeName: 'Remove',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'psdelogicid',
        type: 'KEYFIELDS',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestField: 'PSDELOGICID',
      requestMethod: 'DELETE',
      requestParamType: 'FIELD',
      needResourceKey: true,
      noServiceCodeName: true,
      actionMode: 'DELETE',
      actionType: 'REMOTE',
      batchActionMode: 1,
      enableBatchAction: true,
      dataSetType: 'REMOTE',
      name: 'Remove',
      id: 'remove',
    },
    {
      codeName: 'RemoveTemp',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'psdelogicid',
        type: 'KEYFIELDS',
        name: 'RemoveTempInput',
        id: 'removetempinput',
      },
      appDEMethodReturn: {
        type: 'VOID',
        name: 'RemoveTempResult',
        id: 'removetempresult',
      },
      tempDataMode: 2,
      builtinMethod: true,
      actionMode: 'DELETE',
      actionType: 'BUILTIN',
      batchActionMode: 1,
      enableBatchAction: true,
      dataSetType: 'REMOTE',
      name: 'RemoveTemp',
      id: 'removetemp',
    },
    {
      codeName: 'Save',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/save',
      actionMode: 'SAVE',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Save',
      id: 'save',
    },
    {
      codeName: 'Update',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'PUT',
      requestParamType: 'ENTITY',
      needResourceKey: true,
      noServiceCodeName: true,
      actionMode: 'UPDATE',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Update',
      id: 'update',
    },
    {
      codeName: 'UpdateTemp',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        name: 'UpdateTempInput',
        id: 'updatetempinput',
      },
      appDEMethodReturn: {
        type: 'VOID',
        name: 'UpdateTempResult',
        id: 'updatetempresult',
      },
      tempDataMode: 2,
      builtinMethod: true,
      actionMode: 'UPDATE',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'UpdateTemp',
      id: 'updatetemp',
    },
    {
      codeName: 'UpdateTempMajor',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        name: 'UpdateTempMajorInput',
        id: 'updatetempmajorinput',
      },
      appDEMethodReturn: {
        type: 'VOID',
        name: 'UpdateTempMajorResult',
        id: 'updatetempmajorresult',
      },
      tempDataMode: 1,
      builtinMethod: true,
      actionMode: 'UPDATE',
      actionType: 'BUILTIN',
      dataSetType: 'REMOTE',
      name: 'UpdateTempMajor',
      id: 'updatetempmajor',
    },
    {
      codeName: 'apply',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/apply',
      needResourceKey: true,
      actionMode: 'CUSTOM',
      actionName: 'APPLY',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      id: 'apply',
    },
    {
      codeName: 'create_by_template',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        output: true,
        name: 'Create_by_templateInput',
        id: 'create_by_templateinput',
      },
      appDEMethodReturn: {
        type: 'VOID',
        name: 'Create_by_templateResult',
        id: 'create_by_templateresult',
      },
      actionMode: 'CREATE',
      actionType: 'DELOGIC',
      appDELogicId: 'create_by_template',
      dataSetType: 'REMOTE',
      id: 'create_by_template',
    },
    {
      codeName: 'disable',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/disable',
      needResourceKey: true,
      actionMode: 'CUSTOM',
      actionName: 'DISABLE',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      id: 'disable',
    },
    {
      codeName: 'enable',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/enable',
      needResourceKey: true,
      actionMode: 'CUSTOM',
      actionName: 'ENABLE',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      id: 'enable',
    },
    {
      codeName: 'get_last_run_info',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'psdelogicid',
        type: 'KEYFIELD',
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'DTO',
        id: '返回对象',
      },
      requestField: 'PSDELOGICID',
      requestMethod: 'GET',
      requestParamType: 'FIELD',
      requestPath: '/get_last_run_info',
      needResourceKey: true,
      actionMode: 'READ',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      id: 'get_last_run_info',
    },
    {
      codeName: 'FetchDefault',
      methodType: 'FETCH',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicfilterdto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'PAGE',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/fetchdefault',
      actionType: 'REMOTE',
      dataSetName: 'DEFAULT',
      dataSetTag: 'Default',
      dataSetType: 'REMOTE',
      name: 'FetchDefault',
      id: 'fetchdefault',
    },
    {
      codeName: 'FetchTempDefault',
      methodType: 'FETCHTEMP',
      appDEMethodInput: {
        appDEMethodDTOId: 'psdelogicfilterdto',
        type: 'DTO',
        name: 'DefaultInput',
        id: 'defaultinput',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'psdelogicdto',
        type: 'PAGE',
        name: 'DefaultResult',
        id: 'defaultresult',
      },
      tempDataMode: 2,
      actionType: 'REMOTE',
      dataSetTag: 'Default',
      dataSetType: 'DATAQUERY',
      name: 'DEFAULT',
      id: 'fetchtempdefault',
    },
    {
      codeName: 'FilterCreate',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERCREATE',
      id: 'filtercreate',
    },
    {
      codeName: 'FilterFetch',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERFETCH',
      id: 'filterfetch',
    },
    {
      codeName: 'FilterGet',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERGET',
      id: 'filterget',
    },
    {
      codeName: 'FilterGetDraft',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERGETDRAFT',
      id: 'filtergetdraft',
    },
    {
      codeName: 'FilterRemove',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERREMOVE',
      id: 'filterremove',
    },
    {
      codeName: 'FilterSearch',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERSEARCH',
      id: 'filtersearch',
    },
    {
      codeName: 'FilterUpdate',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERUPDATE',
      id: 'filterupdate',
    },
  ],
  appDEUIActions: [
    {
      actionLevel: 100,
      actionTarget: 'SINGLEDATA',
      buttonStyle: 'DEFAULT',
      caption: 'AI辅助',
      codeName: 'AIChat',
      frontProcessType: 'CHAT',
      fullCodeName: 'PSDELogic_AIChat',
      sysImage: {
        cssClass: 'fa fa-lightbulb-o',
        glyph: 'xf0eb@FontAwesome',
      },
      uiactionMode: 'FRONT',
      uiactionTag: 'AIChat',
      uiactionType: 'DEUIACTION',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDEACModeId: 'aichart',
      appDataEntityId: 'web.psdelogic',
      name: 'AI辅助',
      id: 'aichat@psdelogic',
    },
    {
      actionLevel: 100,
      actionTarget: 'SINGLEKEY',
      buttonStyle: 'DEFAULT',
      caption: '应用',
      codeName: 'apply',
      confirmMsg: '是否应用此规则',
      fullCodeName: 'PSDELogic_apply',
      appDEMethodId: 'apply',
      refreshMode: 1,
      successMsg: '应用成功！',
      timeout: 60000,
      tooltip: '应用此规则',
      uiactionMode: 'BACKEND',
      uiactionTag: 'apply',
      uiactionType: 'DEUIACTION',
      enableConfirm: true,
      reloadData: true,
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDataEntityId: 'web.psdelogic',
      name: '应用扩展模型',
      id: 'apply@psdelogic',
    },
    {
      actionLevel: 100,
      actionTarget: 'NONE',
      buttonStyle: 'DEFAULT',
      caption: '自动化规则',
      codeName: 'create_auto_flow',
      frontAppViewId: 'web.psde_logic_quick_create_view_auto_flow',
      frontProcessType: 'WIZARD',
      fullCodeName: 'PSDELogic_create_auto_flow',
      uiactionMode: 'FRONT',
      uiactionTag: 'create_auto_flow',
      uiactionType: 'DEUIACTION',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDataEntityId: 'web.psdelogic',
      name: '新建自动化规则',
      id: 'create_auto_flow@psdelogic',
    },
    {
      actionLevel: 100,
      actionTarget: 'NONE',
      buttonStyle: 'DEFAULT',
      caption: '计划规则',
      codeName: 'create_schedule_flow',
      frontAppViewId: 'web.psde_logic_quick_create_view_schedule',
      frontProcessType: 'WIZARD',
      fullCodeName: 'PSDELogic_create_schedule_flow',
      uiactionMode: 'FRONT',
      uiactionTag: 'create_schedule_flow',
      uiactionType: 'DEUIACTION',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDataEntityId: 'web.psdelogic',
      name: '新建计划规则',
      id: 'create_schedule_flow@psdelogic',
    },
    {
      actionLevel: 100,
      actionTarget: 'NONE',
      buttonStyle: 'DEFAULT',
      caption: '全部日志',
      codeName: 'open_all_log',
      frontAppViewId: 'web.psde_logic_all_log_grid_view',
      frontProcessType: 'WIZARD',
      fullCodeName: 'PSDELogic_open_all_log',
      uiactionMode: 'FRONT',
      uiactionTag: 'open_all_log',
      uiactionType: 'DEUIACTION',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDataEntityId: 'web.psdelogic',
      name: '打开全部日志',
      id: 'open_all_log@psdelogic',
    },
    {
      actionLevel: 100,
      actionTarget: 'SINGLEKEY',
      buttonStyle: 'DEFAULT',
      caption: '编辑',
      codeName: 'open_quick_cfg_view',
      frontAppViewId: 'web.psde_logic_quick_cfg_view',
      frontProcessType: 'WIZARD',
      fullCodeName: 'PSDELogic_open_quick_cfg_view',
      sysImage: {
        cssClass: 'fa fa-edit',
        glyph: 'xf044@FontAwesome',
      },
      uiactionMode: 'FRONT',
      uiactionTag: 'open_quick_cfg_view',
      uiactionType: 'DEUIACTION',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDataEntityId: 'web.psdelogic',
      name: '打开配置视图',
      id: 'open_quick_cfg_view@psdelogic',
    },
  ],
  deopprivs: [
    {
      logicName: '建立',
      name: 'CREATE',
      id: 'create',
    },
    {
      logicName: '删除',
      name: 'DELETE',
      id: 'delete',
    },
    {
      logicName: '读取',
      name: 'READ',
      id: 'read',
    },
    {
      logicName: '更新',
      name: 'UPDATE',
      id: 'update',
    },
  ],
  codeName: 'PSDELogic',
  deapicodeName: 'psdelogic',
  deapicodeName2: 'psdelogics',
  deapitag: 'PSDELOGIC',
  dataAccCtrlArch: 1,
  dataAccCtrlMode: 1,
  enableUIActions: 15,
  keyAppDEFieldId: 'psdelogicid',
  logicName: '实体处理逻辑',
  majorAppDEFieldId: 'psdelogicname',
  quickSearchAppDEFieldIds: ['psdelogicname'],
  sysAPITag: 'api',
  defaultMode: true,
  enableFilterActions: true,
  enableTempData: true,
  major: true,
  name: 'PSDELOGIC',
  id: 'web.psdelogic',
  codeName2: 'PSDELogics',
  requestPaths: [],
};
